package alp.starcode.nudtportal.framework.model;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "aggregate.config")
public class AggregatePaymentModel {

    /**
     * 商户编码，由正元提供。每一个收款账号对应一个商户编码
     */
    private String cpCode ;

    /**
     * 签名密钥，由正元提供，用于对请求的数据进行签名加密
     */
    private String signKey ;

    /**
     * 统一认证分配给应用的appid
     */
    private String appId;

    /**
     * 异步通知地址
     */
    private String notifyUrl ;

    /**
     * 支付成功后页面返回地址
     */
    private String returnUrl ;

    /**
     * 1:一卡通账号,2:学号,3:身份证号
     */
    private String accountType ;
    /**
     * 商品名称
     */
    private String prodName ;

    /**
     * 业务类型
     */
    private String tranType ;

    public String getCpCode() {
        return cpCode;
    }

    public void setCpCode(String cpCode) {
        this.cpCode = cpCode;
    }

    public String getSignKey() {
        return signKey;
    }

    public void setSignKey(String signKey) {
        this.signKey = signKey;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getTranType() {
        return tranType;
    }

    public void setTranType(String tranType) {
        this.tranType = tranType;
    }
}
